package personnal.jonat;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class Student {

    private String name;
    private Double averageGrade;
    private List<Double> grades;
    private List<Double> classGrades;

    public Student() {
        super();
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getAverageGrade() {
        return this.averageGrade;
    }

    public void setAverageGrade(Double averageGrade) {
        this.averageGrade = averageGrade;
    }

    public List<Double> getGrades() {
        return this.grades;
    }

    public void setGrades(List<Double> grades) {
        this.grades = grades;
    }

    public List<Double> getClassGrades() {
        return this.classGrades;
    }

    public void setClassGrades(List<Double> classGrades) {
        this.classGrades = classGrades;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
